package com.xxgc.cloud.provider.springcloudprovider.service;

import com.xxgc.cloud.api.IHelloWorld;
import com.xxgc.cloud.provider.springcloudprovider.dao.IGetMessageDao;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 接口的业务实现
 */
@DubboService(interfaceClass = IHelloWorld.class,version = "1.0.1")
public class HelloWorldImpl implements IHelloWorld {

    @Autowired
    private IGetMessageDao igmd;

    @Override
    public String sayHello() {
        return "[version 1.0.1]Hello Spring Cloud Alibaba 3";
    }
}
